From: Keir Fraser Date: Sat, 2 Oct 2010 14:00:05 +0000 (+0100) Subject: Vt-d: fix feature boot messages X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11421 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=b8febbaa0a4b120b3ea8a609fafd7aaeff19c031;p=xen.git Vt-d: fix feature boot messages Changed vt-d feature boot messages from "supported" to "enabled" since they reflect what is currently enabled in this Xen boot - not what is supported by VT-d hardware. Signed-off-by: Allen Kay --- diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index c1bf71b843..5e43a80e22 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -1987,9 +1987,9 @@ int __init intel_vtd_setup(void) "since Queued Invalidation isn't supported or enabled.\n"); } -#define P(p,s) printk("Intel VT-d %s %ssupported.\n", s, (p)? "" : "not ") +#define P(p,s) printk("Intel VT-d %s %senabled.\n", s, (p)? "" : "not ") P(iommu_snoop, "Snoop Control"); - P(iommu_passthrough, "DMA Passthrough"); + P(iommu_passthrough, "Dom0 DMA Passthrough"); P(iommu_qinval, "Queued Invalidation"); P(iommu_intremap, "Interrupt Remapping"); #undef P